﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Root.Master" AutoEventWireup="true" CodeBehind="PasswordRecovery.aspx.cs" Inherits="OpenPhotoAlbum.PasswordRecovery" %>
<asp:Content ID="Content3" ContentPlaceHolderID="phContent" runat="server">
	<div>&nbsp;</div>
	<h2>&nbsp;<%= Resources.Strings.PasswordRecovery %></h2>
	<div>&nbsp;</div>
    <div>
		&nbsp;
		<asp:Literal ID="ltrNewPassword" runat="server" />
		<asp:TextBox ID="tbNewPassword" runat="server" TextMode="Password" Font-Size="Large" />
		<asp:Button ID="btnSubmit" runat="server" />
    </div>
    <h1>&nbsp;</h1>
    <script type="text/javascript">
    	$addHandler($get('<%= tbNewPassword.ClientID %>'), 'keydown', onKeyDown);
    	function onKeyDown(e) {
    		if (e.keyCode == 13) {
    			$get('<%= btnSubmit.ClientID %>').click();
    			e.preventDefault();
    		}
    	}
    </script>
</asp:Content>
